package cn.kgc.client;

import cn.kgc.commons.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "mall-wms",path = "/wms",fallback = WmsWareSkuFeignClientFallback.class)
public interface WmsWareSkuFeignClient {

    @GetMapping("/WareSku/hasStock")
    Result<Boolean> hasStock(@RequestParam(name = "skuId") Long skuId);
}
